package com.xebest.web.mapper.write;

import com.xebest.web.model.XeVenGoodsRejectDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 退货单相关Mapper
 *
 * @author chenjing
 */
public interface XeVenGoodsRejectDetailWriteMapper {

    /**
     * 插入退货单
     *
     * @author chenjing
     */
    int insert(XeVenGoodsRejectDetailEntity record);

    /**
     * 批量插入退货单信息
     *
     * @author chenjing
     */
    int insertAllGoodsRejectDetail(List<Map<String, Object>> rejectDetailList);

    int updateRejectDetailList(List<XeVenGoodsRejectDetailEntity> rejectDetailList);

}